package com.shelpe.services.sustainer.configuration;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import feign.Logger;
import feign.Request.Options;

@Configuration
public class FeignConfiguration {
	@Bean
	public Logger.Level feignLoggerLevel(){
		return Logger.Level.FULL;
	}
	
	 @Bean
     public Options feignRequestOptions(){
    	 return new Options(10 * 1000, 3 * 60 * 1000);
     }
}
